package com.tea.room.model;

import java.util.Date;

/**
 * 
 * @ClassName:Login   
 * @Description:TODO(登陆实体类)   
 * @date:2019年4月3日 下午5:54:52 
 * @author ShiP
 */
public class Login {

    /**
     * 主键id
     */
    private Integer id;
    
    /**
     * 用户名
     */
    private String username;
    
    /**
     * 密码
     */
    private String password;
    
    /**
     * 登陆失败次数
     */
    private Integer error_no;
    
    /**
     * 绑定邮箱
     */
    private String email;
    
    /**
     * 是否锁定
     */
    private String flag;
    
    /**
     * 最后一次登陆IP
     */
    private String loginIp;
    
    /**
     * 最后一次登陆时间
     */
    private Date loginTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getError_no() {
		return error_no;
	}

	public void setError_no(Integer error_no) {
		this.error_no = error_no;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getLoginIp() {
		return loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public Date getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}

}
